import java.io.Serializable;
import java.util.Enumeration;


public class saveItem implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String type;
	private int xPosition;
	private int yPosition;
	private boolean initial;
	public boolean isInitial() {
		return initial;
	}
	public void setInitial(boolean initial) {
		this.initial = initial;
	}
	public int getXIndex() {
		return xIndex;
	}
	public void setXIndex(int index) {
		xIndex = index;
	}
	public int getYIndex() {
		return yIndex;
	}
	public void setYIndex(int index) {
		yIndex = index;
	}
	private int xIndex;
	private int yIndex;
	private String orientation;
	private boolean floating;
	private int teamNumber;
	private boolean active;
	private boolean hasOil;
	private String iconName;
	private boolean isBridge;
	
	public boolean isBridge() {
		return isBridge;
	}
	public void setBridge(boolean isBridge) {
		this.isBridge = isBridge;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getXPosition() {
		return xPosition;
	}
	public void setXPosition(int position) {
		xPosition = position;
	}
	public int getYPosition() {
		return yPosition;
	}
	public void setYPosition(int position) {
		yPosition = position;
	}
	public String getOrientation() {
		return orientation;
	}
	public void setOrientation(String orientation) {
		this.orientation = orientation;
	}
	public boolean isFloating() {
		return floating;
	}
	public void setFloating(boolean floating) {
		this.floating = floating;
	}
	public int getTeamNumber() {
		return teamNumber;
	}
	public void setTeamNumber(int teamNumber) {
		this.teamNumber = teamNumber;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public boolean isHasOil() {
		return hasOil;
	}
	public void setHasOil(boolean hasOil) {
		this.hasOil = hasOil;
	}

	public saveItem(String type, int position, int position2, int indexX, int indexY,
			String orientation, boolean floating, int teamNumber,
			boolean active, boolean hasOil, boolean initial,boolean bridge) {
	
		this.xIndex = indexX;
		this.yIndex = indexY;
		this.type = type;
		xPosition = position;
		yPosition = position2;
		this.orientation = orientation;
		this.floating = floating;
		this.teamNumber = teamNumber;
		this.active = active;
		this.hasOil = hasOil;
		this.initial = initial;
		this.isBridge = bridge;
	}
	public String getIconName() {
		return iconName;
	}
	public void setIconName(String iconName) {
		this.iconName = iconName;
	}
	
}
